//package com.example.tests;

import com.thoughtworks.selenium.*;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import java.util.regex.Pattern;

public class DealerPROD_MasterDealerTest extends SeleneseTestCase {
	@Before
	public void setUp() throws Exception {
		selenium = new DefaultSelenium("localhost", 4444, "*chrome", "http://www.gfwfn.com/DealerLogin.php");
		selenium.start();
	}
	
		@Test
	public void testUntitled1() throws Exception {
		selenium.open("/DealerLogin.php");
		selenium.type("id=txtUsername", "99999");
		selenium.type("id=txtPassword", "Ldldvht9");
		selenium.click("name=submit");
		selenium.click("css=img[alt=\"Check out the all-new 2013 Fusion\"]");
		selenium.click("link=www.americanidol.com");
		verifyTrue(selenium.isElementPresent("link=Official Rules"));
		selenium.click("link=Privacy Statement");
		selenium.click("link=CA Privacy Statement");
	
		}
		
			@Test
	public void testUntitled2() throws Exception {
		selenium.open("/DealerLogin.php");
		selenium.type("id=txtUsername", "99999");
		selenium.type("id=txtPassword", "Ldldvht9");
		selenium.click("name=submit");
		selenium.waitForPageToLoad("30000");
		selenium.click("link=www.americanidol.com");
		selenium.click("link=Official Rules");
		selenium.click("link=Privacy Statement");
		selenium.click("link=CA Privacy Statement");
		selenium.click("css=img[alt=\"Check out the all-new 2013 Fusion\"]");

	}
@Test
	public void testUntitled3() throws Exception {
		selenium.open("/DealerLogin.php");
		selenium.type("id=txtUsername", "99999");
		selenium.type("id=txtPassword", "Ldldvht9");
		selenium.click("name=submit");
		selenium.waitForPageToLoad("30000");
		verifyTrue(selenium.isElementPresent("id=header"));
		verifyTrue(selenium.isElementPresent("id=header"));
		verifyTrue(selenium.isElementPresent("css=img[alt=\"Check out the all-new 2013 Fusion\"]"));
		verifyTrue(selenium.isElementPresent("id=header"));
		verifyTrue(selenium.isElementPresent("css=img[alt=\"Click for Live Chat\"]"));
		verifyTrue(selenium.isElementPresent("css=img[alt=\"Home\"]"));
		verifyTrue(selenium.isElementPresent("css=img[alt=\"Tools\"]"));
		verifyTrue(selenium.isElementPresent("css=img[alt=\"POP Kit\"]"));
		verifyTrue(selenium.isElementPresent("css=img[alt=\"RSVPs\"]"));
		verifyTrue(selenium.isTextPresent("exact:Have Questions? Call 1-800-757-5754 \nAmerican Idol ®/© 19 TV Ltd. and FremantleMedia North America. 2013 All Rights Reserved. www.americanidol.com\nCharitable donations are the sole responsibility of Ford, not American Idol® or related parties."));
		verifyTrue(selenium.isElementPresent("css=p.alignLeft"));
		verifyTrue(selenium.isElementPresent("css=span.aiDisclaimer"));
		verifyTrue(selenium.isTextPresent("American Idol ®/© 19 TV Ltd. and FremantleMedia North America. 2013 All Rights Reserved. www.americanidol.com\nCharitable donations are the sole responsibility of Ford, not American Idol® or related parties."));
		verifyTrue(selenium.isElementPresent("link=www.americanidol.com"));
		verifyTrue(selenium.isTextPresent("www.americanidol.com"));
		verifyTrue(selenium.isTextPresent("Official Rules"));
		verifyTrue(selenium.isElementPresent("link=Official Rules"));
		verifyTrue(selenium.isElementPresent("link=Privacy Statement"));
		verifyTrue(selenium.isTextPresent("Privacy Statement"));
		verifyTrue(selenium.isTextPresent("CA Privacy Statement"));
		verifyTrue(selenium.isElementPresent("link=CA Privacy Statement"));
		verifyTrue(selenium.isTextPresent("Welcome to the Go Further with Ford Night Event Manager Tool Site. Here you'll find everything you need to create a successful event starring the all-new 2013 Fusion."));
		verifyTrue(selenium.isElementPresent("css=p.topadjust"));
		verifyTrue(selenium.isElementPresent("//div[@id='content']/div[2]/p[3]"));
		verifyTrue(selenium.isTextPresent("Click on \"Tools\" to the left to access key promotional materials, FAQs, an Event Checklist and information regarding Test Your Judging Skills with American Idol® Tryouts that will be offered to consumers at your Dealership on event night."));
		verifyTrue(selenium.isTextPresent("Click on \"POP KIT\" to the left to order your Go Further with Ford Night POP event materials. These materials will help you to promote and execute the event effectively at your Dealership."));
		verifyTrue(selenium.isElementPresent("//div[@id='content']/div[2]/p[5]"));
		verifyTrue(selenium.isElementPresent("css=strong"));
		verifyTrue(selenium.isElementPresent("//div[@id='content']/div[2]/p[5]/strong"));
		verifyTrue(selenium.isElementPresent("//div[@id='content']/div[2]/p[7]"));
		verifyTrue(selenium.isTextPresent("Click on \"RSVPs\" to get a real-time snapshot of how many consumers have pre-registered for your event, including their names and contact information."));
		verifyTrue(selenium.isTextPresent("Welcome to the Go Further with Ford Night Event Manager Tool Site. Here you'll find everything you need to create a successful event starring the all-new 2013 Fusion."));
		verifyTrue(selenium.isElementPresent("css=strong"));
		verifyTrue(selenium.isTextPresent("Test Your Judging Skills with American Idol® Tryouts"));
		verifyTrue(selenium.isTextPresent("Click on \"POP KIT\" to the left to order your Go Further with Ford Night POP event materials. These materials will help you to promote and execute the event effectively at your Dealership."));
		verifyTrue(selenium.isTextPresent("Click on \"Tools\" to the left to access key promotional materials, FAQs, an Event Checklist and information regarding Test Your Judging Skills with American Idol® Tryouts that will be offered to consumers at your Dealership on event night."));
		verifyTrue(selenium.isTextPresent("Click on \"RSVPs\" to get a real-time snapshot of how many consumers have pre-registered for your event, including their names and contact information."));
		verifyTrue(selenium.isElementPresent("//div[@id='content']/div[2]/p[5]/strong"));
	
	}
	
	@Test
	 public void testUntitled4() throws Exception {
		selenium.open("/DealerLogin.php");
		selenium.type("id=txtUsername", "99999");
		selenium.type("id=txtPassword", "Ldldvht9");
		selenium.click("name=submit");
		selenium.waitForPageToLoad("30000");
		selenium.click("css=img[alt=\"POP Kit\"]");
		selenium.waitForPageToLoad("30000");
		verifyTrue(selenium.isElementPresent("id=header"));
		verifyTrue(selenium.isElementPresent("id=header"));
		verifyTrue(selenium.isElementPresent("css=img[alt=\"Check out the all-new 2013 Fusion\"]"));
		verifyTrue(selenium.isElementPresent("id=header"));
		verifyTrue(selenium.isElementPresent("css=img[alt=\"Click for Live Chat\"]"));
		verifyTrue(selenium.isElementPresent("css=img[alt=\"Home\"]"));
		verifyTrue(selenium.isElementPresent("css=img[alt=\"Tools\"]"));
		verifyTrue(selenium.isElementPresent("css=img[alt=\"POP Kit\"]"));
		verifyTrue(selenium.isElementPresent("css=img[alt=\"RSVPs\"]"));
		verifyTrue(selenium.isTextPresent("exact:Note: Use of the American Idol® name and/or logo in any way other than how it has been provided in these files is strictly prohibited and subject to legal action."));
		verifyTrue(selenium.isElementPresent("link=FDAF Toolbox."));
		verifyTrue(selenium.isTextPresent("For additional customizable program elements please visit the FDAF Toolbox."));
		verifyTrue(selenium.isTextPresent("exact:Have Questions? Call 1-800-757-5754 \nAmerican Idol ®/© 19 TV Ltd. and FremantleMedia North America. 2013 All Rights Reserved. www.americanidol.com\nCharitable donations are the sole responsibility of Ford, not American Idol® or related parties."));
		verifyTrue(selenium.isTextPresent("American Idol ®/© 19 TV Ltd. and FremantleMedia North America. 2013 All Rights Reserved. www.americanidol.com\nCharitable donations are the sole responsibility of Ford, not American Idol® or related parties."));
		verifyTrue(selenium.isElementPresent("link=www.americanidol.com"));
		verifyTrue(selenium.isElementPresent("link=Official Rules"));
		verifyTrue(selenium.isElementPresent("link=Privacy Statement"));
		verifyTrue(selenium.isElementPresent("link=CA Privacy Statement"));
		verifyTrue(selenium.isTextPresent("Event Pop Kit and Support"));
		verifyTrue(selenium.isTextPresent("Go Further with Ford Night"));
		verifyTrue(selenium.isTextPresent("Go Further with Ford Night participation REQUIRES a Point of Purchase (POP) Kit for activating the Test Your Judging Skills with American Idol® Tryout App Software."));
		verifyTrue(selenium.isTextPresent("exact:Recommendation: For every 75 guests that RSVP have one Tryout station set up for the Test Your Judging Skills with American Idol® contest."));
		verifyTrue(selenium.isTextPresent("Mandatory POP with Tryout Kit\n $95 each"));
		verifyTrue(selenium.isTextPresent("Additional Tryout Kits\n $85 each"));
		verifyTrue(selenium.isTextPresent("Downloadable POP"));
		verifyTrue(selenium.isTextPresent("4' x 12' Banner"));
		verifyTrue(selenium.isTextPresent("Floor Graphic"));
		verifyTrue(selenium.isTextPresent("Wheelstand Insert"));
		verifyTrue(selenium.isTextPresent("Poster"));
		verifyTrue(selenium.isTextPresent("Hang Tag"));
		verifyTrue(selenium.isTextPresent("Cling"));
		verifyTrue(selenium.isTextPresent("Mandatory POP with Tryout Kit\n $95 each"));
		verifyTrue(selenium.isTextPresent("Additional Tryout Kits\n $85 each"));
		verifyTrue(selenium.isTextPresent("TO ORDER FROM ESTORE"));
		verifyTrue(selenium.isTextPresent("TO ORDER FROM ESTORE"));
		verifyTrue(selenium.isTextPresent("(1) 40’ x 60’ Test Your Judging Skills with American Idol® Tryout Backdrop"));
		verifyTrue(selenium.isTextPresent("(1) Specialized webcam that must be used with this program"));
		verifyTrue(selenium.isTextPresent("(1) Pair of external speakers"));
		verifyTrue(selenium.isTextPresent("(3) Event posters"));
		verifyTrue(selenium.isTextPresent("(10) Vehicle clings"));
		verifyTrue(selenium.isTextPresent("(20) Vehicle hangtags"));
		verifyTrue(selenium.isTextPresent("(1) 40’ x 60’ Test Your Judging Skills with American Idol® Tryout Backdrop"));
		verifyTrue(selenium.isTextPresent("(1) Specialized webcam that must be used with this program"));
		verifyTrue(selenium.isTextPresent("(1) Pair of external speakers"));
		verifyTrue(selenium.isElementPresent("css=h2"));
		verifyTrue(selenium.isElementPresent("css=strong"));
		verifyTrue(selenium.isElementPresent("//div[@id='content']/div[2]/p/strong[2]"));
		verifyTrue(selenium.isElementPresent("css=p"));
		verifyTrue(selenium.isElementPresent("//div[@id='content']/div[2]/p[2]"));
		verifyTrue(selenium.isElementPresent("css=h3"));
		verifyTrue(selenium.isElementPresent("css=div.popcol2 > h3"));
		verifyTrue(selenium.isElementPresent("css=div.popcol3 > h3"));
		verifyTrue(selenium.isElementPresent("link=TO ORDER FROM ESTORE"));
		verifyTrue(selenium.isElementPresent("css=div.popcol2 > p > a.storelink"));
		verifyTrue(selenium.isElementPresent("css=div.popcol2 > p > a.storelink"));
		verifyTrue(selenium.isElementPresent("link=Floor Graphic"));
		verifyTrue(selenium.isElementPresent("link=Wheelstand Insert"));
		verifyTrue(selenium.isElementPresent("link=Poster"));
		verifyTrue(selenium.isElementPresent("link=Hang Tag"));
		verifyTrue(selenium.isElementPresent("link=Cling"));
		verifyTrue(selenium.isElementPresent("css=div.popcol1 > ul"));
		verifyTrue(selenium.isElementPresent("//div[@id='content']/div[2]/div/ul/li[2]"));
		verifyTrue(selenium.isElementPresent("//div[@id='content']/div[2]/div/ul/li[2]"));
		verifyTrue(selenium.isElementPresent("css=div.popcol1 > ul > li"));
		verifyTrue(selenium.isElementPresent("//div[@id='content']/div[2]/div/ul/li[3]"));
		verifyTrue(selenium.isElementPresent("//div[@id='content']/div[2]/div/ul/li[4]"));
		verifyTrue(selenium.isElementPresent("//div[@id='content']/div[2]/div/ul/li[5]"));
		verifyTrue(selenium.isElementPresent("//div[@id='content']/div[2]/div/ul/li[6]"));
		verifyTrue(selenium.isElementPresent("css=div.popcol2 > ul > li > em"));
		verifyTrue(selenium.isElementPresent("//div[@id='content']/div[2]/div[2]/ul/li[2]"));
		verifyTrue(selenium.isElementPresent("//div[@id='content']/div[2]/div[2]/ul/li[3]"));
		verifyTrue(selenium.isElementPresent("css=div.popcol2 > h3"));
		verifyTrue(selenium.isElementPresent("css=div.popcol3 > h3"));


	}
	
	@Test
	public void testUntitled5() throws Exception {
		selenium.open("/DealerLogin.php");
		selenium.type("id=txtUsername", "99999");
		selenium.type("id=txtPassword", "Ldldvht9");
		selenium.click("name=submit");
		selenium.waitForPageToLoad("30000");
		selenium.click("css=img[alt=\"RSVPs\"]");
		selenium.waitForPageToLoad("30000");
		verifyTrue(selenium.isTextPresent("Pre-Registered Participants"));
		verifyTrue(selenium.isElementPresent("css=h2"));
		verifyTrue(selenium.isTextPresent("Total consumers who have pre-registered for your Dealership: 51"));
		verifyTrue(selenium.isTextPresent("Keep in mind that some guests will not RVSP. There may be a significant amount of walk-in traffic the day of the event.  Please plan accordingly."));
		verifyTrue(selenium.isTextPresent("All consumers who have pre-registered are listed below, with their contact information, in alphabetical order."));
		
		
	}
	
	@Test
	public void testUntitled6() throws Exception {
		selenium.open("/DealerLogin.php");
		selenium.type("id=txtUsername", "99999");
		selenium.type("id=txtPassword", "Ldldvht9");
		selenium.click("name=submit");
		selenium.waitForPageToLoad("30000");
		selenium.click("css=img[alt=\"Tools\"]");
		verifyTrue(selenium.isElementPresent("id=header"));
		verifyTrue(selenium.isElementPresent("id=header"));
		verifyTrue(selenium.isElementPresent("css=img[alt=\"Check out the all-new 2013 Fusion\"]"));
		verifyTrue(selenium.isElementPresent("id=header"));
		verifyTrue(selenium.isElementPresent("css=img[alt=\"Click for Live Chat\"]"));
		verifyTrue(selenium.isElementPresent("css=img[alt=\"Home\"]"));
		verifyTrue(selenium.isElementPresent("css=img[alt=\"Tools\"]"));
		verifyTrue(selenium.isElementPresent("css=img[alt=\"POP Kit\"]"));
		verifyTrue(selenium.isElementPresent("css=img[alt=\"RSVPs\"]"));
		verifyTrue(selenium.isElementPresent("css=h2"));
		verifyTrue(selenium.isTextPresent("Charity Status:"));
		verifyTrue(selenium.isElementPresent("css=strong"));
		verifyTrue(selenium.isElementPresent("css=p"));
		verifyTrue(selenium.isElementPresent("//div[@id='content']/div[2]/table/tbody/tr/td[2]/p[2]"));
		verifyTrue(selenium.isTextPresent("Registration URL:"));
		verifyTrue(selenium.isTextPresent("Event Times:"));
		verifyTrue(selenium.isTextPresent("Start Time:"));
		verifyTrue(selenium.isTextPresent("exact:http://www.gofurtherwithfordnight2.com/Registration.php?ID=994f06ea-91e5-49d9-8864-1e0c5949b3e8&dn=VGVzdCBEZWFsZXJzaGlw"));
		verifyTrue(selenium.isElementPresent("link=exact:http://www.gofurtherwithfordnight2.com/Registration.php?ID=994f06ea-91e5-49d9-8864-1e0c5949b3e8&dn=VGVzdCBEZWFsZXJzaGlw"));
		verifyTrue(selenium.isElementPresent("//div[@id='content']/div[2]/table/tbody/tr[2]/td[2]/p[2]"));
		verifyTrue(selenium.isTextPresent("Your unique Registration URL allows you to customize promotional elements. It can be copied and pasted into the evite template so that recipients RSVP directly to your online Registration site."));
		verifyTrue(selenium.isElementPresent("id=selStartTime"));
		verifyTrue(selenium.isTextPresent("End Time:"));
		verifyTrue(selenium.isElementPresent("//form[@id='regForm']/label[2]"));
		verifyTrue(selenium.isElementPresent("id=selEndTime"));
		verifyTrue(selenium.isElementPresent("id=timeSubmit"));
		verifyTrue(selenium.isElementPresent("//div[@id='content']/div[2]/table/tbody/tr[3]/td[2]/p[2]"));
		verifyTrue(selenium.isElementPresent("css=span"));
		verifyTrue(selenium.isElementPresent("css=p > strong"));
		verifyTrue(selenium.isTextPresent("Below are links to items you’ll need to help advertise, promote and manage your event."));
		verifyTrue(selenium.isTextPresent("FAQs"));
		verifyTrue(selenium.isElementPresent("link=FAQs"));
		verifyTrue(selenium.isTextPresent("EVENT CHECKLIST"));
		verifyTrue(selenium.isElementPresent("link=EVENT CHECKLIST"));
		verifyTrue(selenium.isElementPresent("link=EVENT CHECKLIST"));
		verifyTrue(selenium.isElementPresent("css=em > strong"));
		verifyTrue(selenium.isTextPresent("TRYOUT APP"));
		verifyTrue(selenium.isTextPresent("Please Download Video and Instructions First"));
		verifyTrue(selenium.isElementPresent("link=SET-UP INSTRUCTIONS/FAQ"));
		verifyTrue(selenium.isElementPresent("link=SET-UP VIDEO"));
		verifyTrue(selenium.isElementPresent("link=COMPUTER SYSTEMS CHECK"));
		verifyTrue(selenium.isElementPresent("link=WEBCAM DRIVER INSTRUCTIONS (XP/VISTA)"));
		verifyTrue(selenium.isElementPresent("link=WINDOWS MEDIA PLAYER UPGRADE"));
		verifyTrue(selenium.isElementPresent("link=PRESS RELEASE"));
		verifyTrue(selenium.isTextPresent("EVITE TEMPLATE\n Word\n Instructions for above\n PDF\n Instructions for above\n (Download, then copy and paste your registration URL from above)"));
		verifyTrue(selenium.isElementPresent("link=Word"));
		verifyTrue(selenium.isElementPresent("link=Instructions for above"));
		verifyTrue(selenium.isElementPresent("link=PDF"));
		verifyTrue(selenium.isElementPresent("//a[contains(text(),'Instructions\n        for above')]"));
		verifyTrue(selenium.isTextPresent("Word\n Instructions for above\n PDF\n Instructions for above\n (Download, then copy and paste your registration URL from above)"));
		verifyTrue(selenium.isElementPresent("link=FMCDealer eVite (DADS)"));
		verifyTrue(selenium.isTextPresent("WEB BANNER\n 160x600 300x250 728x90"));
		verifyTrue(selenium.isElementPresent("link=160x600"));
		verifyTrue(selenium.isElementPresent("link=300x250"));
		verifyTrue(selenium.isElementPresent("link=728x90"));
		verifyTrue(selenium.isElementPresent("link=FACEBOOK POST"));
		verifyTrue(selenium.isElementPresent("link=TWITTER POST"));
		verifyTrue(selenium.isElementPresent("link=CALL SCRIPT"));
		verifyTrue(selenium.isTextPresent("TELEVISION TAG\n Copy\n Billboard Art"));
		verifyTrue(selenium.isElementPresent("link=Copy"));
		verifyTrue(selenium.isElementPresent("link=Billboard Art"));
		verifyTrue(selenium.isTextPresent("RADIO SCRIPTS\n :30 :60"));
		verifyTrue(selenium.isElementPresent("link=exact::30"));
		verifyTrue(selenium.isElementPresent("link=exact::60"));
		verifyTrue(selenium.isTextPresent("NEWSPAPER AD\n FULL PAGE\n 1/2 PAGE\n 1/4 PAGE"));
		verifyTrue(selenium.isElementPresent("link=FULL PAGE"));
		verifyTrue(selenium.isElementPresent("link=1/2 PAGE"));
		verifyTrue(selenium.isElementPresent("link=1/4 PAGE"));
		verifyTrue(selenium.isTextPresent("NEWSPAPER BUG\n Art Card A\n Art Card B"));
		verifyTrue(selenium.isElementPresent("link=Art Card A"));
		verifyTrue(selenium.isElementPresent("link=Art Card B"));
		verifyTrue(selenium.isTextPresent("exact:Note: Use of the American Idol® name and/or logo in any way other than how it has been provided in these files is strictly prohibited and subject to legal action."));
		verifyTrue(selenium.isElementPresent("link=FDAF Toolbox."));
		verifyTrue(selenium.isTextPresent("For additional customizable program elements please visit the FDAF Toolbox."));
		verifyTrue(selenium.isTextPresent("exact:Have Questions? Call 1-800-757-5754 \nAmerican Idol ®/© 19 TV Ltd. and FremantleMedia North America. 2013 All Rights Reserved. www.americanidol.com\nCharitable donations are the sole responsibility of Ford, not American Idol® or related parties."));
		verifyTrue(selenium.isTextPresent("American Idol ®/© 19 TV Ltd. and FremantleMedia North America. 2013 All Rights Reserved. www.americanidol.com\nCharitable donations are the sole responsibility of Ford, not American Idol® or related parties."));
		verifyTrue(selenium.isElementPresent("link=www.americanidol.com"));
		verifyTrue(selenium.isElementPresent("link=Official Rules"));
		verifyTrue(selenium.isElementPresent("link=Privacy Statement"));
		verifyTrue(selenium.isElementPresent("link=CA Privacy Statement"));
	}
	
	@Test
	public void testUntitled7() throws Exception {
		selenium.open("/DealerLogin.php");
		verifyTrue(selenium.isElementPresent("id=header"));
		verifyTrue(selenium.isElementPresent("css=img[alt=\"Check out the all-new 2013 Fusion\"]"));
		verifyTrue(selenium.isElementPresent("id=header"));
		verifyTrue(selenium.isElementPresent("id=header"));
		verifyTrue(selenium.isElementPresent("id=car1c"));
		verifyTrue(selenium.isElementPresent("css=h2"));
		verifyTrue(selenium.isTextPresent("EVENT MANAGER LOGIN"));
		verifyTrue(selenium.isTextPresent("exact:ID:"));
		verifyTrue(selenium.isElementPresent("css=label"));
		verifyTrue(selenium.isElementPresent("id=txtUsername"));
		verifyTrue(selenium.isElementPresent("//div[@id='car1c']/label[2]"));
		verifyTrue(selenium.isElementPresent("id=txtPassword"));
		verifyTrue(selenium.isTextPresent("exact:Password:"));
		verifyTrue(selenium.isElementPresent("name=submit"));
		verifyTrue(selenium.isTextPresent("exact:Have Questions? Call 1-800-757-5754 \nAmerican Idol ®/© 19 TV Ltd. and FremantleMedia North America. 2013 All Rights Reserved. www.americanidol.com\nCharitable donations are the sole responsibility of Ford, not American Idol® or related parties."));
		verifyTrue(selenium.isElementPresent("css=span.aiDisclaimer"));
		verifyTrue(selenium.isElementPresent("css=p.alignLeft"));
		verifyTrue(selenium.isTextPresent("American Idol ®/© 19 TV Ltd. and FremantleMedia North America. 2013 All Rights Reserved. www.americanidol.com\nCharitable donations are the sole responsibility of Ford, not American Idol® or related parties."));
		verifyTrue(selenium.isElementPresent("link=www.americanidol.com"));
		verifyTrue(selenium.isTextPresent("www.americanidol.com"));
		verifyTrue(selenium.isElementPresent("link=Official Rules"));
		verifyTrue(selenium.isTextPresent("Official Rules"));
		verifyTrue(selenium.isElementPresent("link=Privacy Statement"));
		verifyTrue(selenium.isTextPresent("Privacy Statement"));
		verifyTrue(selenium.isTextPresent("CA Privacy Statement"));
		verifyTrue(selenium.isElementPresent("link=CA Privacy Statement"));
	}
	
	
	@Test
	public void testUntitled8() throws Exception {
		selenium.open("/DealerLogin.php");
		selenium.type("id=txtUsername", "99999");
		selenium.type("id=txtPassword", "Ldldvht9");
		selenium.click("name=submit");
		selenium.waitForPageToLoad("30000");
	}
	
	@Test
	public void testUntitled9() throws Exception {
		selenium.open("/DealerLogin.php");
		selenium.click("name=submit");
		selenium.waitForPageToLoad("30000");
		selenium.click("css=img[alt=\"POP Kit\"]");
		selenium.waitForPageToLoad("30000");
		verifyTrue(selenium.isElementPresent("link=TO ORDER FROM ESTORE"));
		selenium.click("link=Floor Graphic");
		selenium.click("link=Wheelstand Insert");
		selenium.click("link=Poster");
		selenium.click("link=Hang Tag");
		selenium.click("link=Cling");
		verifyTrue(selenium.isElementPresent("css=img[alt=\"Click for Live Chat\"]"));
	}
	
	@After
	public void tearDown() throws Exception {
		selenium.stop();
	}
}
